free(): double free detected in tcache 2

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a1535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f8508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0328d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78fec1a in malloc_printerr (str=str@entry=0x7ffff7a04f58 "free(): double free detected in tcache 2") at malloc.c:5341
#4  0x00007ffff79006fd in _int_free (av=0x7ffff7a3ac40 <main_arena>, p=0x55555f7035d0, have_lock=<optimized out>) at malloc.c:4193
#5  0x0000555555712553 in checked_free (ptr=0x55555f7035e0) at misc.c:1275
#6  0x0000555555711550 in setString (old_value=0x555558608050 <tape+16>, new_value=0x55555c737ec0 "rnd_gerrit_holl") at misc.c:844
#7  0x00005555556eb9da in TapeErase () at tape.c:530
#8  0x0000555555686934 in GameEnd () at game.c:4773
#9  0x0000555555686832 in GameWon () at game.c:4720
#10 0x00005555556a6fd2 in GameActionsExt () at game.c:11369
#11 0x00005555556a769a in GameActions () at game.c:11623
#12 0x000055555567a3b5 in HandleGameActions () at screens.c:8274
#13 0x0000555555644c8a in EventLoop () at events.c:339
#14 0x00005555556381aa in main (argc=1, argv=0x7fffffffdb88) at main.c:7762
(gdb) # just finished a level
